/**************************************************************************
 *         Copyright(c) 2007 by Sunplus mMedia  Technology Co., Ltd.       *
 *                                                                         *
 *  This software is copyrighted by and is the property of Sunplus mMedia  *
 *  Technology Co., Ltd. All rights are reserved by Sunplus mMedia Techno- *
 *  logy Co., Ltd. This software may only be used in accordance with the   *
 *  corresponding license agreement. Any unauthorized use, duplication,    *
 *  distribution, or disclosure of this software is expressly forbidden.   *
 *                                                                         *
 *  This Copyright notice "M U S T" not be removed or modified without     *
 *  prior written consent of Sunplus mMedia Technology  Co., Ltd.          *
 *                                                                         *
 *  Sunplus mMedia Technology Co., Ltd. reserves the right to modify this  *
 *  software without notice.                                               *
 *                                                                         *
 *  Sunplus mMedia Technology Co., Ltd.                                    *
 *  19-1, Innovation First Road, Science-Based Industrial Park,            *
 *  Hsin-Chu, Taiwan, R.O.C.                                               *
 *                                                                         *
 **************************************************************************/
#ifndef __OS_MAIN_H__
#define __OS_MAIN_H__
//=============================================================================
//Header file
//=============================================================================

//=============================================================================
//Symbol
//=============================================================================

//-----------------------------------------------------------------------------
//Constant
//-----------------------------------------------------------------------------
#define OS_TASK_READY		1
#define OS_TASK_PEND		0
//------------------------------------------------------------------------------
//Data type
//------------------------------------------------------------------------------

typedef struct os_tcb{
	pFunc osTask;
	UINT8 osTaskID;  //begin with 0
	UINT8 osTaskPrio;	
	UINT8 osTaskDly;
	UINT8 osTaskBank;
	struct os_tcb xdata* osTcbNext;
} OS_TCB;


#endif /*__OS_MAIN_H__*/

